package com.scm.persist.mybatis;

import com.scm.persist.model.ScmProductProject;
import com.scm.persist.model.ScmProductProjectExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmProductProjectMapper {
    int countByExample(ScmProductProjectExample example);

    int deleteByExample(ScmProductProjectExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmProductProject record);

    int insertSelective(ScmProductProject record);

    List<ScmProductProject> selectByExampleWithRowbounds(ScmProductProjectExample example, RowBounds rowBounds);

    List<ScmProductProject> selectByExample(ScmProductProjectExample example);

    ScmProductProject selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmProductProject record, @Param("example") ScmProductProjectExample example);

    int updateByExample(@Param("record") ScmProductProject record, @Param("example") ScmProductProjectExample example);

    int updateByPrimaryKeySelective(ScmProductProject record);

    int updateByPrimaryKey(ScmProductProject record);
}
